<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			div{
				width: 100px;
				height: 100px;
				background-color: yellow;
				  animation: moveBox 5s linear 3 alternate;
			}
			@keyframes moveBox {
			            0% {
			                transform: translateX(0);
			                opacity: 1;
			            }
			            100% {
			                transform: translateX(500px) translateY(700px) rotate(360deg);
			                opacity: 0.5;
			            }
			        }
		</style>
	</head>
	<body>
		<div>
			
		</div>
	</body>
</html>